package com.ruoyi.project.jiaqin.subject.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 话题对象 jiaqin_subject
 *
 * @author admin
 * @date 2020-12-30
 */
public class JiaqinSubject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 行业ID */
    @Excel(name = "行业ID")
    private String industryId;

    /** 话题名称 */
    @Excel(name = "话题名称")
    private String name;

    /** 话题图标 */
    @Excel(name = "话题图标")
    private String icon;

    /** 添加时间 */
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 显示排序 */
    @Excel(name = "显示排序")
    private Integer sort;
    public Integer getSort() {
        return sort;
    }
    public void setSort(Integer sort) {
        this.sort = sort;
    }


    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setIndustryId(String industryId)
    {
        this.industryId = industryId;
    }

    public String getIndustryId()
    {
        return industryId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setIcon(String icon)
    {
        this.icon = icon;
    }

    public String getIcon()
    {
        return icon;
    }
    public void setCreateAt(Date createAt)
    {
        this.createAt = createAt;
    }

    public Date getCreateAt()
    {
        return createAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("industryId", getIndustryId())
            .append("name", getName())
            .append("icon", getIcon())
            .append("createAt", getCreateAt())
            .append("sort", getSort())
            .toString();
    }
}
